package com.dunqi.gpm.cangxi.home.activity;

import android.content.Intent;
import android.os.Bundle;

import com.dunqi.gpm.cangxi.R;
import com.dunqi.gpm.cangxi.common.base.BaseAct;
import com.dunqi.gpm.cangxi.home.fragment.ProjectProgressFragment;

public class ProjectProgressActivity extends BaseAct {

    private ProjectProgressFragment fragment;

    @Override
    protected void refreshData(Bundle savedInstanceState) {

    }

    @Override
    protected void initUiAndListener() {

        fragment = ProjectProgressFragment.newInstance();
        getSupportFragmentManager().beginTransaction()
                .add(R.id.container,fragment )
                .commit();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_project_progress;
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        fragment.onActivityResult(requestCode, resultCode, data);
    }
}
